package com.skt.domain.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 商家服装视图对象（VO）
 *
 * 说明：
 * - 用于商家接口返回（如 POST /merchant/costumes 成功后）
 * - 包含商家管理所需的完整信息，包括内部字段（如购入价）
 */
@Data
@Accessors(chain = true)
@Schema(description = "商家服装信息")
public class MerchantCostumeVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "所属商家ID")
    private Long merchantId;

    @Schema(description = "服装名称")
    private String name;

    @Schema(description = "类别：古装/现代/民族/舞台特效等")
    private String category;

    @Schema(description = "尺码：S/M/L/XL/定制等")
    private String size;

    @Schema(description = "颜色")
    private String color;

    @Schema(description = "品牌/来源")
    private String brand;

    @Schema(description = "购入日期")
    private LocalDate purchaseDate;

    @Schema(description = "购入价格（元）")
    private BigDecimal price;

    @Schema(description = "日租金（元）")
    private BigDecimal rentalPrice;

    @Schema(description = "商品状态：0-待审核 1-审核通过 2-审核驳回 3-已上架 4-已下架", example = "1")
    private Byte status;

    @Schema(description = "描述（材质、特点等）")
    private String description;

    @Schema(description = "图片URL")
    private String imageUrl;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}